<?php
interface Pageley_Gateway_Database_Table {
    public function find($id);
	
	public function query($query);
	
	public function insert($entity);
	
	public function update($entity);
	
	public function delete($entity);
    
    public function getTableName();
    
    public function getSchema();
    
    public function getFullTableName();
    
    public function getMaxId();
    
    public function getColumnNameGenerator($delimiter = "", $aliasPrefix = null);
    
    public function count($query);
}